package com.yedean.mall.dto;

import com.yedean.mall.entity.PmsProductCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * PmsProductCategoryWithChildrenItem
 *
 * @author yedean
 * @date 2022/8/16
 */
public class PmsProductCategoryWithChildrenItem {

    @Getter
    @Setter
    @ApiModelProperty("父级分类")
    private PmsProductCategory parent;

    @Getter
    @Setter
    @ApiModelProperty("子级分类")
    private List<PmsProductCategory> children;
}
